package zhc.app.service;

import org.nutz.aop.interceptor.ioc.TransAop;
import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.ioc.aop.Aop;
import org.nutz.ioc.loader.annotation.IocBean;
import zhc.app.entity.Sys_config;
import zhc.framework.service.BaseServiceImpl;

import java.util.List;


@IocBean(args = {"refer:dao"})
public class SysConfigService extends BaseServiceImpl<Sys_config> {
    public SysConfigService(Dao dao) {
        super(dao);
    }

    @Aop(TransAop.NONE)
    public List<Sys_config> getAllList() {
        return this.query(Cnd.where("delFlag", "=", false));
    }
}